package com.itshizhan.itjidancideveloper.controller;

import com.itshizhan.itjidancideveloper.minio.MinioProperties;
import com.itshizhan.itjidancideveloper.minio.MinioUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Autowired
    MinioProperties minioProperties;

    @GetMapping("/test")
    public String test(){
        return "Hello :" + minioProperties.getEndpoint() + "," + minioProperties.getAccessKey() + "," + minioProperties.getImagesBucketName();
    }
}
